Remove unused macro (configure_shell)
authorJean Pierre Dudey <jeandudey@hotmail.com>
Fri, 26 Aug 2016 12:01:07 +0000 (08:01 -0400)
committerJean Pierre Dudey <jeandudey@hotmail.com>
Fri, 26 Aug 2016 12:27:41 +0000 (08:27 -0400)
Also i've removed some unused lints on sha256.rs

src/bin/cargo.rs
src/cargo/util/sha256.rs

index 85246efa046452b8468d797eff561befb2e69c8d..2e4ceb0eb96b5baa6d9cf1a52739e8b15f1de2bc 100644 (file)
@@ -71,16 +71,6 @@ fn main() {
     execute_main_without_stdin(execute, true, USAGE)
 }
 
-macro_rules! configure_shell {
-    ($config:expr, $options:expr) => (
-        try!($config.configure($options.flag_verbose,
-                               $options.flag_quiet,
-                               &$options.flag_color,
-                               $options.flag_frozen,
-                               $options.flag_locked));
-    )
-}
-
 macro_rules! each_subcommand{
     ($mac:ident) => {
         $mac!(bench);
index 97bee1c357f78edd0098c4dfb79a43b466e6c10c..80a48d84b509b14b7054e1cecb57c366b2cefefc 100644 (file)
@@ -3,8 +3,6 @@ pub use self::imp::Sha256;
 // Someone upstream will link to OpenSSL, so we don't need to explicitly
 // link to it ourselves. Hence we pick up Sha256 digests from OpenSSL
 #[cfg(not(windows))]
-// allow improper ctypes because size_t falls under that in old compilers
-#[allow(bad_style, improper_ctypes)]
 mod imp {
     extern crate openssl;